package com.DataFactory.TaskManagement.model.bo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author shumm
 * @Description 任务BO,任务相关的业务对象
 * @since 2024-03-28 13:14
 */
@Data
public class TaskArrangeBO {

    private Integer id;
    // 名称
    private String name;
    // 任务ID
    private Integer taskId;
    // 团队ID
    private Integer teamId;
    // 开始日期
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startDate;
    // 进程
    private String process;
    // 进程率
    private String processRate;
    // 类型
    private String type;
    // 是否安排
    private Integer isArrange;
    // 是否设置
    private Integer isSet;
    // 持续时间
    private Integer duration;
    // 结果描述
    private String resultDescription;


    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;

}
